I don't know if I overlooked something or not but how do I export a PNG to a WORD document. In a DOORS module, I have several OLE objects that users created - one OLE object per one DOORS object. For each of the OLE object, I exported it as a PNG image but now I don't know how to insert that image to a WORD document. Does anyone have any clue on how to do this? |
Re: WORD - Function to use to export PNG I would therefore expect you can just treat it like any other OLE object. |
Re: WORD - Function to use to export PNG Bob_Swan - Thu Jan 27 10:11:29 EST 2011 First one was around copy/paste: Buffer b = create b+= richTextWithOle o.”Object Text” setRichClip(b, NORMAL, FONTABLE) - see DXL help for details err = oleMethod(oRange, cMethodPaste)
- o.attr - is the attribute getting exported - TEMP is a temporary folder - exportProgressPoint is an increment for each object - the rest is irrelevant This function creates html for the text and also
Octavian |
Re: WORD - Function to use to export PNG ostanescu - Thu Jan 27 12:31:02 EST 2011
- o.attr - is the attribute getting exported - TEMP is a temporary folder - exportProgressPoint is an increment for each object - the rest is irrelevant This function creates html for the text and also
Octavian |